package com.lxw.weather.model;

/**
 * 夜间天气对象
 */
class Night {
    private String time;        // 时间
    private String sunDown;     // 日落时间
    private String wind;        // 风向
    private String wind_pow;    // 风力
    private String weather;     // 天气
    private String weather_pic; // 天气图标
    private String temperature; // 温度

    // 构造方法
    public Night() {
    }

    public Night(String time, String sunDown, String wind, String wind_pow,
                 String weather, String weather_pic, String temperature) {
        this.time = time;
        this.sunDown = sunDown;
        this.wind = wind;
        this.wind_pow = wind_pow;
        this.weather = weather;
        this.weather_pic = weather_pic;
        this.temperature = temperature;
    }

    // Getter和Setter方法
    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getSunDown() {
        return sunDown;
    }

    public void setSunDown(String sunDown) {
        this.sunDown = sunDown;
    }

    public String getWind() {
        return wind;
    }

    public void setWind(String wind) {
        this.wind = wind;
    }

    public String getWind_pow() {
        return wind_pow;
    }

    public void setWind_pow(String wind_pow) {
        this.wind_pow = wind_pow;
    }

    public String getWeather() {
        return weather;
    }

    public void setWeather(String weather) {
        this.weather = weather;
    }

    public String getWeather_pic() {
        return weather_pic;
    }

    public void setWeather_pic(String weather_pic) {
        this.weather_pic = weather_pic;
    }

    public String getTemperature() {
        return temperature;
    }

    public void setTemperature(String temperature) {
        this.temperature = temperature;
    }

    @Override
    public String toString() {
        return "Night{" +
                "time='" + time + '\'' +
                ", sunDown='" + sunDown + '\'' +
                ", wind='" + wind + '\'' +
                ", wind_pow='" + wind_pow + '\'' +
                ", weather='" + weather + '\'' +
                ", weather_pic='" + weather_pic + '\'' +
                ", temperature='" + temperature + '\'' +
                '}';
    }
}
